<?php

namespace common\models\clinic;

use Yii;

/**
 * This is the model class for table "{{%clinic_relation_kefu}}".
 *
 * @property int $id
 * @property int $kefu_id 客服ID，对应by_member表
 * @property int $project_id 项目ID
 * @property int $clinic_id 诊室ID
 * @property int $created_at 添加时间
 * @property int $updated_at 更新时间
 */
class RelationKefu extends \common\models\BaseModel
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return '{{%clinic_relation_kefu}}';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['kefu_id', 'project_id', 'clinic_id', 'created_at', 'updated_at'], 'integer'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'kefu_id' => '客服ID，对应by_member表',
            'project_id' => '项目ID',
            'clinic_id' => '诊室ID',
            'created_at' => '添加时间',
            'updated_at' => '更新时间',
        ];
    }
}
